<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/11/19
  Time: 17:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>

    <style>
        li img{
            position: absolute;
            right:100%;
            margin-right: 3px;
             width:48%;
            height:130%;
            border-radius: 50%;
        }
    </style>
</head>
<body>
<div class="preheader-area">
    <div class="container">
        <div class="row">
            <div class="col-md-5 col-lg-6 d-none d-lg-block ">
                <div class="preheader-contact-info d-flex align-items-center justify-content-between justify-content-md-start">
                    <div class="single-contact-info">
                            <span class="contact-icon">
                                <i class="fa fa-envelope"></i>
                            </span>
                        <a href="mailto:tianqingniu@foxmailcom" class="contact-text">
                            <strong>电子邮件:</strong> tianqingniu@foxmailcom
                        </a>
                    </div>
                    <div class="single-contact-info">
                            <span class="contact-icon">
                                <i class="fa fa-phone"></i>
                            </span>
                        <a href="" class="contact-text">
                            <strong>电话:</strong> 15876543210
                        </a>
                    </div>
                    <div class="single-contact-info">

                    </div>
                </div>
            </div>
            <%--暂时还没有处理--%>
            <div class="col-md-7 col-lg-6 mt-xs-10">
                <div class="site-setting-menu">
                    <ul class="nav justify-content-center justify-content-md-end">
                        <c:if test="${not empty sessionScope.user}">
                            <li style="margin-right: 25px;">用户 ${sessionScope.user.username}</li>
                            <li class="switcher dropdown-show"><a href="${pageContext.request.contextPath}/user/gotoUserMessage.do">
                                <img class="user_headImg" src="${pageContext.request.contextPath}/${sessionScope.user.img}" alt="头像"></a>
                                <a style="margin-left: 7px;" href="javascript:;" class="arrow-toggle">我的账户</a>

                                <ul style="margin-top: 6px;" class="dropdown-nav">
                                    <li><a href="${pageContext.request.contextPath}/order/orderlist.do">买到的宝贝</a></li>
                                    <li><a href="${pageContext.request.contextPath}/user/gotoUserMessage.do">个人中心</a></li>
                                    <li><a href="${pageContext.request.contextPath}/user/loginOut.do">注销</a></li>
                                </ul>
                            </li>

                        </c:if>
                        <li><a href="${pageContext.request.contextPath}/product/Collect.do">我的收藏</a></li>
                        <c:if test="${empty sessionScope.user}">
                            <li class="switcher dropdown-show"><a
                                    href="${pageContext.request.contextPath}/user/gotologin.do" class="arrow-toggle">登录&注册</a>
                                <ul class="dropdown-nav">
                                    <li><a href="${pageContext.request.contextPath}/user/gotologin.do">登录</a></li>
                                    <li><a href="${pageContext.request.contextPath}/user/gotoregister.do">注册</a></li>
                                </ul>
                            </li>
                        </c:if>
                        <li><a href="/shopAdmin/index.do">后台管理</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
